/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.client.general.identification;

import gov.fema.hazus.bdc.client.common.ui.AbstractClassificationSchemeListBox;
import gov.fema.hazus.bdc.client.general.GeneralConstants;

import com.google.gwt.core.client.GWT;

public class USStateListBox extends AbstractClassificationSchemeListBox {

	private GeneralConstants constants;

	public USStateListBox()
	{
		
		constants = (GeneralConstants)GWT.create(GeneralConstants.class);
		
		// add all of the items, if null, set to unknown
		this.addItem(constants.schemaStatesAK(), "AK");
		this.addItem(constants.schemaStatesAL(), "AL");
		this.addItem(constants.schemaStatesAR(), "AR");
		this.addItem(constants.schemaStatesAS(), "AS");
		this.addItem(constants.schemaStatesAZ(), "AZ");
		this.addItem(constants.schemaStatesCA(), "CA");
		this.addItem(constants.schemaStatesCO(), "CO");
		this.addItem(constants.schemaStatesCT(), "CT");
		this.addItem(constants.schemaStatesDC(), "DC");
		this.addItem(constants.schemaStatesDE(), "DE");
		this.addItem(constants.schemaStatesFL(), "FL");
		this.addItem(constants.schemaStatesFM(), "FM");
		this.addItem(constants.schemaStatesGA(), "GA");
		this.addItem(constants.schemaStatesGU(), "GU");
		this.addItem(constants.schemaStatesHI(), "HI");
		this.addItem(constants.schemaStatesIA(), "IA");
		this.addItem(constants.schemaStatesID(), "ID");
		this.addItem(constants.schemaStatesIL(), "IL");
		this.addItem(constants.schemaStatesIN(), "IN");
		this.addItem(constants.schemaStatesKS(), "KS");
		this.addItem(constants.schemaStatesKY(), "KY");
		this.addItem(constants.schemaStatesLA(), "LA");
		this.addItem(constants.schemaStatesMA(), "MA");
		this.addItem(constants.schemaStatesMD(), "MD");
		this.addItem(constants.schemaStatesME(), "ME");
		this.addItem(constants.schemaStatesMH(), "ME");
		this.addItem(constants.schemaStatesMI(), "MI");
		this.addItem(constants.schemaStatesMN(), "MN");
		this.addItem(constants.schemaStatesMO(), "MO");
		this.addItem(constants.schemaStatesMP(), "MP");
		this.addItem(constants.schemaStatesMS(), "MS");
		this.addItem(constants.schemaStatesMT(), "MT");
		this.addItem(constants.schemaStatesNC(), "NC");
		this.addItem(constants.schemaStatesND(), "ND");
		this.addItem(constants.schemaStatesNE(), "NE");
		this.addItem(constants.schemaStatesNH(), "NH");
		this.addItem(constants.schemaStatesNJ(), "NJ");
		this.addItem(constants.schemaStatesNM(), "NM");
		this.addItem(constants.schemaStatesNV(), "NV");
		this.addItem(constants.schemaStatesNY(), "NY");
		this.addItem(constants.schemaStatesOH(), "OH");
		this.addItem(constants.schemaStatesOK(), "OK");
		this.addItem(constants.schemaStatesOR(), "OR");
		this.addItem(constants.schemaStatesPA(), "PA");
		this.addItem(constants.schemaStatesPR(), "PR");
		this.addItem(constants.schemaStatesPW(), "PW");
		this.addItem(constants.schemaStatesRI(), "RI");
		this.addItem(constants.schemaStatesSC(), "SC");
		this.addItem(constants.schemaStatesSD(), "SD");
		this.addItem(constants.schemaStatesTN(), "TN");
		this.addItem(constants.schemaStatesTX(), "TX");
		this.addItem(constants.schemaStatesUT(), "UT");
		this.addItem(constants.schemaStatesVA(), "VA");
		this.addItem(constants.schemaStatesVI(), "VI");
		this.addItem(constants.schemaStatesVT(), "VT");
		this.addItem(constants.schemaStatesWA(), "WA");
		this.addItem(constants.schemaStatesWI(), "WI");
		this.addItem(constants.schemaStatesWV(), "WV");
		this.addItem(constants.schemaStatesWY(), "WY");
	}
	
}
